package week2;

public class Number {
    private int num1;
    private int num2;

    public Number() {
    }

    public Number(int num1, int num2) {
        this.num1 = num1;
        this.num2 = num2;
    }

    public void add(int num1,int num2){
        this.num1 = num1;
        this.num2 = num2;
        System.out.println(this.num1 + this.num2);

    }
}
